﻿<%@ Page Language="C#" MasterPageFile="~/UI/Main/Main.Master" AutoEventWireup="true" CodeBehind="add_rating_photos.aspx.cs" Inherits="OrganizedIN.UI.Photos.add_rating_photos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div id="middle_tab">
  	<div id="middle_tab_title" align="center">My Photos</div>
	<div class="middle_tab_content">
<br />
		<h4>You can Add, Search, Add Rating, Add To Album, Re-Name, Re-Date (Add to a future Date), Delete, Archive, and Share with your Group by clicking on the below icons:</h4><br />

	</div>

	<div id="icon_link_wrapper" align="center">
		<div id="icon_primary_documents" align="center"><a href="add_new_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add','','../../images/add_02.jpg',1)"><img src="../../images/add_01.jpg" alt="Search" name="Add" width="75" height="75" border="0" id="Add" /></a></div>
		<div id="icon_secondary" align="center"><a href="search_my_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Search','','../../images/search_02.jpg',1)"><img src="../../images/search_01.jpg" alt="Search" name="Search" width="75" height="75" border="0" id="Search" /></a></div>
        <div id="icon_secondary" align="center"><img src="../../images/add_rating_02.jpg" alt="Add Rating" name="Add Rating" width="75" height="75" border="0" id="Add Rating" /></a></div>
        <div id="icon_secondary" align="center"><a href="add_to_album.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add to Album','','../../images/add_to_album_02.jpg',1)"><img src="../../images/add_to_album_01.jpg" alt="Add to Album" name="Add to Album" width="75" height="75" border="0" id="add_to_album" /></a></div>
        <div id="icon_secondary" align="center"><a href="rename_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Name','','../../images/rename_02.jpg',1)"><img src="../../images/rename_01.jpg" alt="Re-Name" name="Add Re-Name" width="75" height="75" border="0" id="Re-Name" /></a></div>		
        <div id="icon_secondary" align="center"><a href="redate_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Date','','../../images/redate_02.jpg',1)"><img src="../../images/redate_01.jpg" alt="Re-Date" name="Re-Date" width="75" height="75" border="0" id="Re-Date" /></a></div>
        <div id="icon_secondary" align="center"><a href="share_with_group_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Share with group','','../../images/share_02.jpg',1)"><img src="../../images/share_01.jpg" alt="Share with group" name="Share with group" width="75" height="75" border="0" id="Share with group" /></a></div>
        <div id="icon_secondary" align="center"><a href="delete_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Delete','','../../images/delete_02.jpg',1)"><img src="../../images/delete_01.jpg" alt="Delete" name="Delete" width="75" height="75" border="0" id="Delete" /></a></div>    
        <div id="icon_secondary" align="center"><a href="archive_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Archive','','../../images/archive_02.jpg',1)"><img src="../../images/archive_01.jpg" alt="Archive" name="Archive" width="75" height="75" border="0" id="Archive" /></a></div>   
        
        
	</div><br /><br />
<div class="documents_table">    
	<table width="97%" border="0" cellspacing="1" cellpadding="5" align="center">
      <tr>
        <td width="5%" align="center">&nbsp;</td>
        <td width="75%"><span class="middle_text1"><strong><br />
        </strong></span></td>
        <td width="20%" colspan="2" align="left"><span class="middle_text1"><strong><br />
        </strong></span></td>
        </tr>
        <tr bgcolor="#d8e1f3">
        <td class="middle_text1">&nbsp;</td>
        <td colspan="3" align="left"><h4><strong>Wednesday, February 10, 2011 (today)</strong> ▪ <a href="#"><strong>ReDate</strong></a></h4></td>
        </tr>
      <tr bgcolor="#c2cee7">
        <td align="center">&nbsp;</td>
        <td width="75%" align="left">&nbsp;</td>
        <td colspan="2" align="left">&nbsp;</td>
        </tr>
      <tr>
        <td id="tddg" colspan="4" align="center" runat="server">
           <asp:DataGrid ID="dgRating" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="5" Width="100%" oneditcommand="dgRating_EditCommand">
                <HeaderStyle BackColor="#C2CEE7" Font-Bold="True" Width="50%" HorizontalAlign="Center" Font-Size="12px"/> 
                <Columns>
                    <asp:BoundColumn DataField="PhotoID" HeaderText="Id" HeaderStyle-Font-Bold="true" Visible="false">
                    </asp:BoundColumn>       
                    
                    <asp:BoundColumn DataField="Photo_Title" HeaderText="Photo Title" HeaderStyle-Width="50%" HeaderStyle-Font-Bold="true">
                        <ItemStyle Font-Size="12px"/>
                    </asp:BoundColumn>                        
                    
                    <asp:TemplateColumn HeaderText="Action">
                        <ItemTemplate>
                            <asp:DropDownList ID="ddlRating" runat="server">
                                <asp:ListItem Value="0" Text="Select your option"></asp:ListItem>
                                <asp:ListItem Value="5" Text="5 Star"></asp:ListItem>
                                <asp:ListItem Value="4" Text="4 Star"></asp:ListItem>
                                <asp:ListItem Value="3" Text="3 Star"></asp:ListItem>
                                <asp:ListItem Value="2" Text="2 Star"></asp:ListItem>
                                <asp:ListItem Value="1" Text="1 Star"></asp:ListItem>
                           </asp:DropDownList>
                       </ItemTemplate>
                       <ItemStyle HorizontalAlign="Center" />
                   </asp:TemplateColumn>

                   <asp:TemplateColumn HeaderText="Edit">
                        <ItemTemplate>
                            <asp:ImageButton ID="btnEdit" runat="server" AlternateText="Edit" ImageUrl="../../images/edit.gif" CommandName="Edit"/>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                   </asp:TemplateColumn>
               </Columns>
                <PagerStyle Mode="NumericPages" />
            </asp:DataGrid>
        </td>
        </tr>
    </table>
</div>    
	<br />
    </div>
</asp:Content>
